﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class HangSanXuatDTO
    {
        #region 1   -   Attributes

        private int _iD;

        private string _tenHangSanXuat;

        private string _diaChi;

        private Uri _uRL;
        
        #endregion

        #region 2   -   Properties

        public int ID
        {
            get { return _iD; }
            set { _iD = value; }
        }

        public string TenHangSanXuat
        {
            get { return _tenHangSanXuat; }
            set { _tenHangSanXuat = value; }
        }

        public string DiaChi
        {
            get { return _diaChi; }
            set { _diaChi = value; }
        }

        public Uri URL
        {
            get { return _uRL; }
            set { _uRL = value; }
        }

        #endregion

        #region 3   -   Constructors

        public HangSanXuatDTO(int id, string tenhangsanxuat, string diachi, Uri url)
        {
            ID = id;
            TenHangSanXuat = tenhangsanxuat;
            DiaChi = diachi;
            URL = url;
        }
        #endregion
    }
}
